package com.gr



import grails.test.mixin.*
import org.junit.*

/**
 * See the API for {@link grails.test.mixin.web.ControllerUnitTestMixin} for usage instructions
 */
@TestFor(DistributorController)
class DistributorControllerTests {

	void testgetlist() {
		controller.params.node = "CompanyTreeRoot"
		controller.getlist()
		assertEquals "/division/getlist", controller.response.redirectedUrl
	}
}
